Loupe - Log - Monitor - Resolve
Gibraltar.Agent Namespace / Log Class / TraceWarning Method / TraceWarning(String,Object[]) Method
The string message to use, or a format string followed by corresponding args.
A variable number of arguments to insert into the formatted message string.

In This Topic
    TraceWarning(String,Object[]) Method
    In This Topic
    Write a Warning trace message directly to the Loupe log.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub TraceWarning( _
       ByVal format As String, _
       ByVal ParamArray args() As Object _
    ) 
    public static void TraceWarning( 
       string format,
       params object[] args
    )

    Parameters

    format
    The string message to use, or a format string followed by corresponding args.
    args
    A variable number of arguments to insert into the formatted message string.
    Remarks

    Information about the current thread and calling method is automatically captured. The log message will be attributed to the immediate caller of this method. Wrapper implementations should instead use the Log.Write(...) overloads in order to attribute the log message to their own outer callers.

    The message will not be sent through System.Diagnostics.Trace and will not be seen by other trace listeners.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also